home *** CD-ROM | disk | FTP | other *** search
DB2 Bind | 1997-04-11 | 715 b | 20 lines |
- SBSQLIBMAAlrXWJJNULLID 0
- BEGIN DECLARE SECTION
- END DECLARE SECTION
- DECLARE cursor_select CURSOR FOR stmt
- EXECUTE stmt USING DESCRIPTOR :sqlda_ptr
- EXECUTE IMMEDIATE :sqlCommand
- COMMIT
- PREPARE stmt FROM :sqlCommand
- COMMIT
- FETCH cursor_select USING DESCRIPTOR :sqlda_ptr
- CLOSE cursor_select
- PREPARE stmt INTO :sqlda_ptr FROM :sqlCommand
- PREPARE stmt INTO :sqlda_ptr FROM :sqlCommand
- OPEN cursor_select
- EXECUTE stmt
- CLOSE cursor_select
- COMMIT
- COMMIT
- sqlCommand
-